package zcj.stu;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("/c")
public class Controller {

    @RequestMapping("/c")
    public String controller(){
        log.info("controller");
        return "<h1>你好</h1>";
    }
    @ZcjLanguage
    @PostMapping("/i")
    public String identify(@Token String token){
          log.info(token+"........................");
          return "1234567";
    }
}
